/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../icons/icons.woff2') format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

.square_card {
    width: 100%;
    height: 100%;
}

.square_card_start > .mdl-card__title {
    color: #fff;
    background-color: #00c853;
}

.square_card_stop > .mdl-card__title {
    color: #fff;
    background-color: #aa5500;
}

.square_card_status > .mdl-card__title {
    color: #fff;
    background-color: #42A5F5;
}

.square_card_clean > .mdl-card__title {
    color: #fff;
    background-color: #b71c1c;
}

.square_card_system > .mdl-card__title {
    color: #fff;
    background-color: #26a69a;
}

.mdl-grid {
    overflow: hidden;
}

.mdl-spinner {
    width: 284px;
    height: 284px;
    margin: auto;
}

.mdl-spinner__circle {
    border-width: 6px;
}

.modal {
    display: none;                    /* hide by default */
    position: fixed !important;       /* fixed relative to viewport */
    top: 10vh;                        /* start 10% down from top of viewport */
    left: 50%;                        /* center horizontally */
    transform: translateX(-50%);      /* perfect horizontal centering */
    width: 90% !important;            /* take up most of the width */
    max-width: 1200px;                /* width cap */
    max-height: 80vh;                 /* limit height to viewport */
    overflow: auto;                   /* scroll if content too tall */
    z-index: 1000;                    /* on top */
}

#response_text {
    font-family: monospace;        /* fixed-width font */
    white-space: pre;              /* preserve line breaks and spacing exactly */
    overflow-x: auto;              /* horizontal scrollbar if content is wider than container */
    overflow-y: auto;              /* vertical scrollbar if content is taller than container */
    max-height: 70vh;              /* optional: limit height so modal scrolls if too tall */
}

#myLoading {
    background-color: transparent;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 490px black;
    margin: auto;
    margin-top: -75px;
}

.center {
    margin: auto;
    width: 50%;
    padding: 10px;
    overflow: hidden;
    justify-content: center;
}

